package model;

import com.jfinal.plugin.activerecord.Model;

public class Control extends Model<Control>{
	
	public int id;
	public int dev1,dev2,dev3,dev4,dev5;//设备1~5温度
	public float aver; //平均温度
	public int status; //状态
	public int alarm; //警报
	public double power; //功率
	public int start; //开机温度
	public int end; //关机温度
	public int set; //设定温度
	public int speed; //风速
	public int mode; //模式
	
	public static final Control dao = new Control();

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getDev1() {
		return dev1;
	}

	public void setDev1(int dev1) {
		this.dev1 = dev1;
	}

	public int getDev2() {
		return dev2;
	}

	public void setDev2(int dev2) {
		this.dev2 = dev2;
	}

	public int getDev3() {
		return dev3;
	}

	public void setDev3(int dev3) {
		this.dev3 = dev3;
	}

	public int getDev4() {
		return dev4;
	}

	public void setDev4(int dev4) {
		this.dev4 = dev4;
	}

	public int getDev5() {
		return dev5;
	}

	public void setDev5(int dev5) {
		this.dev5 = dev5;
	}

	public float getAver() {
		return aver;
	}

	public void setAver(float aver) {
		this.aver = aver;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public int getAlarm() {
		return alarm;
	}

	public void setAlarm(int alarm) {
		this.alarm = alarm;
	}

	public double getPower() {
		return power;
	}

	public void setPower(int power) {
		this.power = power;
	}

	public int getStart() {
		return start;
	}

	public void setStart(int start) {
		this.start = start;
	}

	public int getEnd() {
		return end;
	}

	public void setEnd(int end) {
		this.end = end;
	}

	public int getSet() {
		return set;
	}

	public void setSet(int set) {
		this.set = set;
	}

	public int getSpeed() {
		return speed;
	}

	public void setSpeed(int speed) {
		this.speed = speed;
	}

	public int getMode() {
		return mode;
	}

	public void setMode(int mode) {
		this.mode = mode;
	}

	@Override
	public String toString() {
		return "Control [id=" + id + ", dev1=" + dev1 + ", dev2=" + dev2 + ", dev3=" + dev3 + ", dev4=" + dev4
				+ ", dev5=" + dev5 + ", aver=" + aver + ", status=" + status + ", alarm=" + alarm + ", power=" + power
				+ ", start=" + start + ", end=" + end + ", set=" + set + ", speed=" + speed + ", mode=" + mode + "]";
	}
	
	
}
